var d=Object.assign;import{i as y,t as _,x as h,y as w,r as l,e as t,f as o,l as n,h as b,F as f,q as g,m as p,p as r,z as E}from"./index.90b4c72d.js";import"./vendor.48d6fd51.js";var u={name:"layoutBreadcrumbUserNews",setup(){const e=y({newsList:[{label:"\u5173\u4E8E\u52A0\u85AA\u7684\u901A\u77E5",value:"XXX\u90E8\u95E8\uFF0C\u6548\u7EE9\u4E0D\u9519\uFF0C\u5168\u4F53\u52A0\u85AA",time:"2020-03-10"},{label:"\u5173\u4E8E\u52A0\u73ED\u7684\u901A\u77E5",value:"\u65B0\u4EA7\u54C1\u4E0A\u7EBF\uFF0CXXX\u90E8\u95E8\u52A0\u73ED",time:"2020-03-08"}]});return d({onAllReadClick:()=>{e.newsList=[]},onGoToGiteeClick:()=>{window.open("https://gitee.com/lyt-top/vue-next-admin")}},_(e))}},T=`.layout-navbars-breadcrumb-user-news .head-box[data-v-6234a19e] {
  display: flex;
  border-bottom: 1px solid #ebeef5;
  box-sizing: border-box;
  color: #333333;
  justify-content: space-between;
  height: 35px;
  align-items: center;
}
.layout-navbars-breadcrumb-user-news .head-box .head-box-btn[data-v-6234a19e] {
  color: var(--color-primary);
  font-size: 13px;
  cursor: pointer;
  opacity: 0.8;
}
.layout-navbars-breadcrumb-user-news .head-box .head-box-btn[data-v-6234a19e]:hover {
  opacity: 1;
}
.layout-navbars-breadcrumb-user-news .content-box[data-v-6234a19e] {
  font-size: 13px;
}
.layout-navbars-breadcrumb-user-news .content-box .content-box-item[data-v-6234a19e] {
  padding-top: 12px;
}
.layout-navbars-breadcrumb-user-news .content-box .content-box-item[data-v-6234a19e]:last-of-type {
  padding-bottom: 12px;
}
.layout-navbars-breadcrumb-user-news .content-box .content-box-item .content-box-msg[data-v-6234a19e] {
  color: #999999;
  margin-top: 5px;
  margin-bottom: 5px;
}
.layout-navbars-breadcrumb-user-news .content-box .content-box-item .content-box-time[data-v-6234a19e] {
  color: #999999;
}
.layout-navbars-breadcrumb-user-news .foot-box[data-v-6234a19e] {
  height: 35px;
  color: var(--color-primary);
  font-size: 13px;
  cursor: pointer;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #ebeef5;
}
.layout-navbars-breadcrumb-user-news .foot-box[data-v-6234a19e]:hover {
  opacity: 1;
}
.layout-navbars-breadcrumb-user-news[data-v-6234a19e] .el-empty__description p {
  font-size: 13px;
}`;const A=E("data-v-6234a19e");h("data-v-6234a19e");const k={class:"layout-navbars-breadcrumb-user-news"},C={class:"head-box"},F={class:"head-box-title"},L=p("\u901A\u77E5 "),z={class:"content-box"},X={class:"content-box-msg"},B={class:"content-box-time"},I={key:0,class:"foot-box"};w();const N=A((e,s,m,i,R,j)=>{const c=l("el-badge"),v=l("el-empty");return t(),o("div",k,[n("div",C,[n("div",F,[L,n(c,{value:e.newsList.length,class:"item"},null,8,["value"])]),e.newsList.length>0?(t(),o("div",{key:0,class:"head-box-btn",onClick:s[1]||(s[1]=(...a)=>i.onAllReadClick&&i.onAllReadClick(...a))},"\u5168\u90E8\u5DF2\u8BFB")):b("",!0)]),n("div",z,[e.newsList.length>0?(t(!0),o(f,{key:0},g(e.newsList,(a,x)=>(t(),o("div",{class:"content-box-item",key:x},[n("div",null,[n(c,{value:"new",class:"item"}),p(" "+r(a.label),1)]),n("div",X,r(a.value),1),n("div",B,r(a.time),1)]))),128)):(t(),o(v,{key:1,description:"\u6682\u65E0\u901A\u77E5"}))]),e.newsList.length>0?(t(),o("div",I,"\u524D\u5F80\u901A\u77E5\u4E2D\u5FC3")):b("",!0)])});u.render=N,u.__scopeId="data-v-6234a19e";export default u;
